package com.eec.AOP.proceedingJoinPoint;

import com.eec.AOP.Chain;

/**
 * ProceedingJoinPoint 的实现类
 */
public class ProceedingJoinPointImpl implements ProceedingJoinPoint {
    private final Chain chain;
    
    public ProceedingJoinPointImpl(Chain chain) {
        this.chain = chain;
    }
    
    @Override
    public Object proceed(){
        return chain.proceed();
    }
}
